package com.ridaizu.model.form;

import java.util.Date;
import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.GoodsManager;
import com.ridaizu.model.Model;

@javax.faces.bean.ManagedBean(name = "goodsManagerForm")
@SessionScoped
public class GoodsManagerForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String brandId;

	private String brandName;

	private String brandSeriesId;

	private String brandSeriesName;

	private String goodsId;

	private String goodsName;

	private String rgtOpt;

	private Date rgtDate;

	private String updOpt;

	private Date updDate;

	private GoodsManager selectedGoodsManager;

	private List<GoodsManager> selectedGoodsManagerList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getBrandSeriesId() {
		return brandSeriesId;
	}

	public void setBrandSeriesId(String brandSeriesId) {
		this.brandSeriesId = brandSeriesId;
	}

	public String getBrandSeriesName() {
		return brandSeriesName;
	}

	public void setBrandSeriesName(String brandSeriesName) {
		this.brandSeriesName = brandSeriesName;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getRgtOpt() {
		return rgtOpt;
	}

	public void setRgtOpt(String rgtOpt) {
		this.rgtOpt = rgtOpt;
	}

	public Date getRgtDate() {
		return rgtDate;
	}

	public void setRgtDate(Date rgtDate) {
		this.rgtDate = rgtDate;
	}

	public String getUpdOpt() {
		return updOpt;
	}

	public void setUpdOpt(String updOpt) {
		this.updOpt = updOpt;
	}

	public Date getUpdDate() {
		return updDate;
	}

	public void setUpdDate(Date updDate) {
		this.updDate = updDate;
	}

	public GoodsManager getSelectedGoodsManager() {
		return selectedGoodsManager;
	}

	public void setSelectedGoodsManager(GoodsManager selectedGoodsManager) {
		this.selectedGoodsManager = selectedGoodsManager;
	}

	public List<GoodsManager> getSelectedGoodsManagerList() {
		return selectedGoodsManagerList;
	}

	public void setSelectedGoodsManagerList(
			List<GoodsManager> selectedGoodsManagerList) {
		this.selectedGoodsManagerList = selectedGoodsManagerList;
	}

	public void clearAll() {
		this.id = null;
		this.brandId = null;
		this.brandName = null;
		this.brandSeriesId = null;
		this.brandSeriesName = null;
		this.goodsId = null;
		this.goodsName = null;
		this.rgtOpt = null;
		this.rgtDate = null;
		this.updOpt = null;
		this.updDate = null;
		this.selectedGoodsManager = null;
		this.selectedGoodsManagerList = null;
	}

}
